package cn.lyjuan.payment.third.base.pay.enums;

import cn.lyjuan.payment.third.base.pay.chl.IPayChl;
import cn.lyjuan.payment.third.base.pay.chl.impl.ali.AlipayChlImpl;
import cn.lyjuan.payment.third.base.pay.chl.impl.iap.AppleIapChlImpl;
import cn.lyjuan.payment.third.base.pay.chl.impl.weixin.WxpayMPChlImpl;
import cn.lyjuan.payment.third.base.pay.chl.impl.weixin.WxpayOPENChlImpl;

public enum SimpleChlEnum
{
    /**
     * 微信公众号
     */
    WX_MP(WxpayMPChlImpl.class)
    /**
     * 微信开放平台
     */
    , WX_OPEN(WxpayOPENChlImpl.class)
    /**
     * 支付宝
     */
    , ALI(AlipayChlImpl.class)
    /**
     * IOS（苹果）
     */
    , IAP(AppleIapChlImpl.class)

    ;

    private Class<? extends IPayChl> cls;

    public Class<? extends IPayChl> getCls()
    {
        return cls;
    }

    SimpleChlEnum(Class<? extends IPayChl> cls)
    {
        this.cls = cls;
    }
}
